//
//  BaseViewController.swift
//  jiaoyi
//
//  Created by wjk on 2018/7/24.
//  Copyright © 2018年 wjk. All rights reserved.
//

import UIKit

class BaseViewController: UIViewController {

    override func viewDidLoad() {
        super.viewDidLoad()
        let bar = UIBarButtonItem();
        bar.title = "";
//        bar.image = UIImage(named: "nav_back");                
        self.navigationItem.backBarButtonItem = bar;
        self.edgesForExtendedLayout = [];
        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    override var preferredStatusBarStyle: UIStatusBarStyle {
        return .lightContent
    }
    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
